/// result : {"headPic":"http://mobile.bwstudent.com/images/tech/default/tech.jpg","nickName":"lianwenke","sex":0,"token":"165761436785331","userId":31}
/// message : "查询成功"
/// status : "0000"

class LoginBean {
  LoginBean({
      Result result, 
      String message, 
      String status,}){
    _result = result;
    _message = message;
    _status = status;
}

  LoginBean.fromJson(dynamic json) {
    _result = json['result'] != null ? Result.fromJson(json['result']) : null;
    _message = json['message'];
    _status = json['status'];
  }
  Result _result;
  String _message;
  String _status;

  Result get result => _result;
  String get message => _message;
  String get status => _status;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (_result != null) {
      map['result'] = _result.toJson();
    }
    map['message'] = _message;
    map['status'] = _status;
    return map;
  }

}

/// headPic : "http://mobile.bwstudent.com/images/tech/default/tech.jpg"
/// nickName : "lianwenke"
/// sex : 0
/// token : "165761436785331"
/// userId : 31

class Result {
  Result({
      String headPic, 
      String nickName, 
      int sex, 
      String token, 
      int userId,}){
    _headPic = headPic;
    _nickName = nickName;
    _sex = sex;
    _token = token;
    _userId = userId;
}

  Result.fromJson(dynamic json) {
    _headPic = json['headPic'];
    _nickName = json['nickName'];
    _sex = json['sex'];
    _token = json['token'];
    _userId = json['userId'];
  }
  String _headPic;
  String _nickName;
  int _sex;
  String _token;
  int _userId;

  String get headPic => _headPic;
  String get nickName => _nickName;
  int get sex => _sex;
  String get token => _token;
  int get userId => _userId;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['headPic'] = _headPic;
    map['nickName'] = _nickName;
    map['sex'] = _sex;
    map['token'] = _token;
    map['userId'] = _userId;
    return map;
  }

}